package com.ximu.test.hibernate.bean;

import java.io.Serializable;
import java.util.Set;

public class User implements Serializable{
	
	private Integer id;
	
	private String name;
	
	private Set<Message> message;
	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public Set<Message> getMessage(){
		return message;
	}
	
	public void setMessage(Set<Message> message){
		this.message = message;
	}
}
